local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1
L0_1 = {}
L0_1.group_id = 133216009
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9001
L2_1.monster_id = 21011001
L3_1 = {}
L3_1.x = -5034.442
L3_1.y = 204.02
L3_1.z = -2731.26
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 63.337
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.drop_id = 1000100
L2_1.disableWander = true
L2_1.pose_id = 32
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 9002
L3_1.monster_id = 21010901
L4_1 = {}
L4_1.x = -5051.453
L4_1.y = 204.02
L4_1.z = -2716.541
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 37.11
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 32
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 9003
L4_1.monster_id = 21030301
L5_1 = {}
L5_1.x = -5036.372
L5_1.y = 206.172
L5_1.z = -2716.951
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 70.858
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 9017
L5_1.monster_id = 21010901
L6_1 = {}
L6_1.x = -5062.875
L6_1.y = 204.02
L6_1.z = -2699.455
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 37.11
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 32
L5_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 9004
L2_1.gadget_id = 70950092
L3_1 = {}
L3_1.x = -5051.494
L3_1.y = 200.0
L3_1.z = -2717.076
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 357.449
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 18
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 9005
L3_1.gadget_id = 70950092
L4_1 = {}
L4_1.x = -5034.509
L4_1.y = 200.0
L4_1.z = -2732.0
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 354.627
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 9006
L4_1.gadget_id = 70290059
L5_1 = {}
L5_1.x = -5035.024
L5_1.y = 200.0
L5_1.z = -2716.269
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 43.3
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 9007
L5_1.gadget_id = 70950087
L6_1 = {}
L6_1.x = -5050.129
L6_1.y = 200.0
L6_1.z = -2713.345
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 92.332
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 9008
L6_1.gadget_id = 70950087
L7_1 = {}
L7_1.x = -5029.88
L7_1.y = 200.0
L7_1.z = -2730.019
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 239.766
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 9009
L7_1.gadget_id = 70290060
L8_1 = {}
L8_1.x = -5044.525
L8_1.y = 204.319
L8_1.z = -2716.508
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 357.034
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 18
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 9010
L8_1.gadget_id = 70290060
L9_1 = {}
L9_1.x = -5035.137
L9_1.y = 204.224
L9_1.z = -2724.797
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 265.002
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 18
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 9011
L9_1.gadget_id = 70290057
L10_1 = {}
L10_1.x = -5046.398
L10_1.y = 199.322
L10_1.z = -2704.688
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 354.359
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 33
L9_1.area_id = 18
L10_1 = {}
L10_1.config_id = 9015
L10_1.gadget_id = 70950092
L11_1 = {}
L11_1.x = -5063.259
L11_1.y = 200.0
L11_1.z = -2699.646
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 79.688
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 33
L11_1 = GadgetState
L11_1 = L11_1.GearStart
L10_1.state = L11_1
L10_1.area_id = 18
L11_1 = {}
L11_1.config_id = 9018
L11_1.gadget_id = 70950092
L12_1 = {}
L12_1.x = -5080.25
L12_1.y = 200.0
L12_1.z = -2685.999
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 79.688
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 33
L12_1 = GadgetState
L12_1 = L12_1.GearStart
L11_1.state = L12_1
L11_1.area_id = 18
L12_1 = {}
L12_1.config_id = 9019
L12_1.gadget_id = 70290057
L13_1 = {}
L13_1.x = -5062.132
L13_1.y = 200.0
L13_1.z = -2690.064
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.667
L13_1.y = 59.508
L13_1.z = 1.132
L12_1.rot = L13_1
L12_1.level = 33
L12_1.area_id = 18
L13_1 = {}
L13_1.config_id = 9020
L13_1.gadget_id = 70211151
L14_1 = {}
L14_1.x = -5034.708
L14_1.y = 206.119
L14_1.z = -2715.466
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 51.555
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 26
L13_1.chest_drop_id = 21900002
L13_1.drop_count = 1
L14_1 = GadgetState
L14_1 = L14_1.ChestLocked
L13_1.state = L14_1
L13_1.isOneoff = true
L13_1.persistent = true
L14_1 = {}
L14_1.name = "chest"
L14_1.exp = 1
L13_1.explore = L14_1
L13_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1009012
L2_1.name = "ANY_GADGET_DIE_9012"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_9012"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_9012"
L3_1 = {}
L3_1.config_id = 1009013
L3_1.name = "ANY_GADGET_DIE_9013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_9013"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_9013"
L4_1 = {}
L4_1.config_id = 1009014
L4_1.name = "ANY_MONSTER_DIE_9014"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9014"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_9014"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "GroupCompletion"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "remainingHeat"
L3_1.value = 3
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "wave"
L4_1.value = 0
L4_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 9016
L3_1.gadget_id = 70290055
L4_1 = {}
L4_1.x = -5089.156
L4_1.y = 200.0
L4_1.z = -2710.557
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L3_1.area_id = 18
L2_1[1] = L3_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 9001
L5_1 = 9002
L6_1 = 9003
L7_1 = 9017
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 9004
L5_1 = 9005
L6_1 = 9006
L7_1 = 9007
L8_1 = 9008
L9_1 = 9009
L10_1 = 9010
L11_1 = 9011
L12_1 = 9015
L13_1 = 9018
L14_1 = 9019
L15_1 = 9020
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_9012"
L5_1 = "ANY_GADGET_DIE_9013"
L6_1 = "ANY_MONSTER_DIE_9014"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 9004 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_9012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 9009
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_9012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 9005 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_9013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 9010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_9013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCountByGroupId
  L3_2 = A0_2
  L4_2 = 133216009
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9014 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 9020
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_9014 = L1_1
